The following code sample illustrates the payload modifications to price FHA and/or VA loans.
| Price an FHA and/or VA Loan |
Copy Code |
|---|---|
{
"companyId": "57983532e4b063ac0cad4d18",
"date": null,
"criteria": {
"purchasePrice": 500000,
"loanAmount": 400000,
"pmiType": "None",
"loanPurpose": "Purchase",
"loanType": "Fixed",
"mortgageType": "Conventional",
"propertyUse": "PrimaryResidence",
"fico": 760,
"monthlyIncome": 5000,
"monthlyDebt": 1,
"clientDti": null,
"vaUsageType": "First_Use", // This field will determine the % amount for fee
"veteranType": "Active_Or_Veteran", // This field will determine the % amount for fee
"ufmipFinanced": "YES", //Yes for fee to be part of total loan amount
"fundingFeeFinanced": "Yes" // yes or no to be included in total loan amount
},
"property": {
"address": {
"zip" : "91776",
"state" : "CA"
},
"propertyType": "SingleFamily",
"numberOfUnit": 1
},
"termsCriteria": [
30
],
"loanPurposeCriteria": [
"Purchase"
],
"mortgageTypes": [
"Conventional", "FHA", "VA" //Add FHA and VA criteria here
],
"loanTypeCriteria": [
"Fixed", "Variable"
],
"varLoanTypeCriteria": []
} | |